package com.basker.pisces.auth.service.pojo;

import com.basker.pisces.context.Token;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author hangwen
 * @date 2020/12/13
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class LoginResult {

    private Token token;
    private User user;

    @Getter
    @Setter
    @NoArgsConstructor
    @AllArgsConstructor
    public static class User {
        private String userId;
        private String userName;
        private String userDisplayName;
    }
}
